<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<title>客户详细信息</title>
</head>
<body>
		<table class="table table-condensed table-hover table-striped">
			<s:iterator value="jsfClient" var="var">
				<tr>
					<td width="150">客户ID： <s:property value="#var.id" />
					</td>
				</tr>
				<tr>
					<td width="150">客户姓名： <s:property value="#var.name" />
					</td>
				</tr>
				<tr>
					<td width="150">客户密码： <s:property value="#var.password" /></td>
				</tr>
				<tr>
					<td width="150">客户电话： <s:property value="#var.phoneNum" />
					</td>
				</tr>
				<tr>
					<td width="150">客户身份证号码： <s:property value="#var.idCard" />
					</td>
				</tr>
				<tr>
					<td width="150">客户住址： <s:property value="#var.address" />
					</td>
				</tr>
				<tr>
					<td width="150">出生日期： <s:property value="#var.age" />
					</td>
				</tr>
				<tr>
					<td width="150">客户性别：
					<s:if test="%{#var.sex == 1}">
					男
					</s:if><s:else>
					 女
					 </s:else>
					</td>
				</tr>
				<tr>
					<td width="150">客户签到次数： <s:property value="#var.checkinNum" />
					</td>
				</tr>
				<input type="button" value="修改" class="btn btn-info"
				onclick="location.href ='client_findById?clientId=<s:property value="#var.id"/>&level=3';" />
				
				<input type="button" value="显示消费信息" class="btn btn-info"
				onclick="location.href ='clientDetail_findById?clientId=<s:property value="#var.id"/>';" />
			</s:iterator>
		</table>
</body>
</html>